package entity;

/**
 * Rolepower entity. @author MyEclipse Persistence Tools
 */

public class Rolepower implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer roleid;
	private Integer powerid;

	// Constructors

	/** default constructor */
	public Rolepower() {
	}

	/** minimal constructor */
	public Rolepower(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Rolepower(Integer id, Integer roleid, Integer powerid) {
		this.id = id;
		this.roleid = roleid;
		this.powerid = powerid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public Integer getPowerid() {
		return this.powerid;
	}

	public void setPowerid(Integer powerid) {
		this.powerid = powerid;
	}

	public Rolepower(Integer roleid, Integer powerid) {
		super();
		this.roleid = roleid;
		this.powerid = powerid;
	}

}